package cn.tedu.day01.jnsdlfaq.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.Date;

/**
 * 用户实体类
 *
 * @author yang
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
public class SysUser {
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;//用户id
    @TableField("login_name")
    private String loginName;//登录名
    @TableField("user_name")
    private String userName;//真名
    @TableField("password")
    private String password;//
    @TableField("email")
    private String email;
    @TableField("sex")
    private String sex;
    @TableField("status")
    private String status; // 状态
    @TableField("dept_id")
    private Integer deptId;// 部门编号
    @TableField("phonenumber")
    private String phoneNumber;//电话
    @TableField("weixin")
    private String weixin;//微信
    @TableField("create_time")
    private Date createTime;//创建时间
    @TableField("update_time")
    private Date updateTime;//修改时间
    @TableField("role")
    private String role;//角色
    @TableField("remark")
    private String remark;//备注


}
